package com.aisile.crowd_funding.system.service;

import com.aisile.crowd_funding.common.service.AbstractService;
import com.aisile.crowd_funding.common.vo.Tree;
import com.aisile.crowd_funding.system.pojo.SysMenu;
import com.aisile.crowd_funding.system.pojo.SysMenuExample;

import java.util.List;
import java.util.Set;

public interface MenuService extends AbstractService<SysMenu,SysMenuExample> {
    int selectChildCount(Long parentId);
    Tree getTree();
    Tree getTree(Long roleId);
    List<SysMenu> selectMenuListByUserId(Long userId);
    Set<String> selectPermsByUserId(Long userId);
    Set<String> selectAllPerms();
}
